[INFO] fetching crate cplex_dynamic 0.1.0...
[INFO] checking cplex_dynamic-0.1.0 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] extracting crate cplex_dynamic 0.1.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate cplex_dynamic 0.1.0 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cplex_dynamic 0.1.0
[INFO] finished tweaking crates.io crate cplex_dynamic 0.1.0
[INFO] tweaked toml for crates.io crate cplex_dynamic 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate cplex_dynamic 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dlopen_derive v0.1.4
[INFO] [stderr]   Downloaded dlopen v0.1.8
[INFO] [stderr]   Downloaded const-cstr v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 072579800be7b08ef5c8dd5b369b3d4b119bb9a68a5b850d488d4809f93c279e
[INFO] running `Command { std: "docker" "start" "-a" "072579800be7b08ef5c8dd5b369b3d4b119bb9a68a5b850d488d4809f93c279e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "072579800be7b08ef5c8dd5b369b3d4b119bb9a68a5b850d488d4809f93c279e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "072579800be7b08ef5c8dd5b369b3d4b119bb9a68a5b850d488d4809f93c279e", kill_on_drop: false }`
[INFO] [stdout] 072579800be7b08ef5c8dd5b369b3d4b119bb9a68a5b850d488d4809f93c279e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98ac914e324a4db27ec69e1fc1c99ee731a88523a0698a17823b3a25bb914b98
[INFO] running `Command { std: "docker" "start" "-a" "98ac914e324a4db27ec69e1fc1c99ee731a88523a0698a17823b3a25bb914b98", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking const-cstr v0.3.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling dlopen_derive v0.1.4
[INFO] [stderr]     Checking dlopen v0.1.8
[INFO] [stderr]     Checking cplex_dynamic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:249:9
[INFO] [stdout]     |
[INFO] [stdout] 249 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/load.rs:435:5
[INFO] [stdout]     |
[INFO] [stdout] 434 | pub struct Constraint {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 435 |     index: Option<usize>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Constraint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXopenCPLEX` should have a snake case name
[INFO] [stdout]   --> src/load.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     CPXopenCPLEX: fn(status: *mut c_int) -> *mut CEnv,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxopen_cplex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXcreateprob` should have a snake case name
[INFO] [stdout]   --> src/load.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     CPXcreateprob: fn(env: *mut CEnv, status: *mut c_int, name: *const c_char) -> *mut CProblem,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxcreateprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsetintparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     CPXsetintparam: fn(env: *mut CEnv, param: c_int, value: c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsetintparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsetdblparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     CPXsetdblparam: fn(env: *mut CEnv, param: c_int, value: c_double) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsetdblparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetintparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     CPXgetintparam: fn(env: *mut CEnv, param: c_int, value: *mut c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetintparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgprobtype` should have a snake case name
[INFO] [stdout]   --> src/load.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     CPXchgprobtype: fn(env: *mut CEnv, lp: *mut CProblem, ptype: c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgprobtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXnewcols` should have a snake case name
[INFO] [stdout]   --> src/load.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     CPXnewcols: fn(
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxnewcols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddrows` should have a snake case name
[INFO] [stdout]   --> src/load.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     CPXaddrows: fn(
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddrows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddlazyconstraints` should have a snake case name
[INFO] [stdout]   --> src/load.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     CPXaddlazyconstraints: fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddlazyconstraints`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetnumcols` should have a snake case name
[INFO] [stdout]    --> src/load.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     CPXgetnumcols: fn(env: *const CEnv, lp: *mut CProblem) -> CInt,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetnumcols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgobj` should have a snake case name
[INFO] [stdout]    --> src/load.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     CPXchgobj: fn(
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `cpxchgobj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgqpcoef` should have a snake case name
[INFO] [stdout]    --> src/load.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     CPXchgqpcoef:
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgqpcoef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgobjsen` should have a snake case name
[INFO] [stdout]    --> src/load.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     CPXchgobjsen: fn(env: *mut CEnv, lp: *mut CProblem, maxormin: c_int) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgobjsen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXlpopt` should have a snake case name
[INFO] [stdout]    --> src/load.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     CPXlpopt: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `cpxlpopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXmipopt` should have a snake case name
[INFO] [stdout]    --> src/load.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     CPXmipopt: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `cpxmipopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetstat` should have a snake case name
[INFO] [stdout]    --> src/load.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     CPXgetstat: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetstat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetobjval` should have a snake case name
[INFO] [stdout]    --> src/load.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     CPXgetobjval: fn(env: *mut CEnv, lp: *mut CProblem, objval: *mut c_double) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetobjval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetx` should have a snake case name
[INFO] [stdout]    --> src/load.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     CPXgetx:
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `cpxgetx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsolution` should have a snake case name
[INFO] [stdout]    --> src/load.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |     CPXsolution: fn(
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsolution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddmipstarts` should have a snake case name
[INFO] [stdout]    --> src/load.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 |     CPXaddmipstarts: fn(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddmipstarts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgeterrorstring` should have a snake case name
[INFO] [stdout]    --> src/load.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     CPXgeterrorstring: fn(env: *mut CEnv, errcode: c_int, buff: *mut c_char) -> *mut c_char,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgeterrorstring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXwriteprob` should have a snake case name
[INFO] [stdout]    --> src/load.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     CPXwriteprob:
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxwriteprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXcloseCPLEX` should have a snake case name
[INFO] [stdout]    --> src/load.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     CPXcloseCPLEX: fn(env: *const *mut CEnv) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxclose_cplex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXfreeprob` should have a snake case name
[INFO] [stdout]    --> src/load.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     CPXfreeprob: fn(env: *mut CEnv, lp: *const *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `cpxfreeprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:663:50
[INFO] [stdout]     |
[INFO] [stdout] 663 |             CString::new(name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |             ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:697:55
[INFO] [stdout]     |
[INFO] [stdout] 697 |             &CString::new(var.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:742:55
[INFO] [stdout]     |
[INFO] [stdout] 742 |             &CString::new(con.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:785:55
[INFO] [stdout]     |
[INFO] [stdout] 785 |             &CString::new(con.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:907:57
[INFO] [stdout]     |
[INFO] [stdout] 907 |             CString::new(name.into().as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |             ------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:974:51
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 CString::new("lpex1.lp").unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:990:51
[INFO] [stdout]     |
[INFO] [stdout] 990 |                 CString::new("lpex1.lp").unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:249:9
[INFO] [stdout]     |
[INFO] [stdout] 249 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/load.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/load.rs:435:5
[INFO] [stdout]     |
[INFO] [stdout] 434 | pub struct Constraint {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 435 |     index: Option<usize>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Constraint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXopenCPLEX` should have a snake case name
[INFO] [stdout]   --> src/load.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     CPXopenCPLEX: fn(status: *mut c_int) -> *mut CEnv,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxopen_cplex`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXcreateprob` should have a snake case name
[INFO] [stdout]   --> src/load.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     CPXcreateprob: fn(env: *mut CEnv, status: *mut c_int, name: *const c_char) -> *mut CProblem,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxcreateprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsetintparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     CPXsetintparam: fn(env: *mut CEnv, param: c_int, value: c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsetintparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsetdblparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     CPXsetdblparam: fn(env: *mut CEnv, param: c_int, value: c_double) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsetdblparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetintparam` should have a snake case name
[INFO] [stdout]   --> src/load.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     CPXgetintparam: fn(env: *mut CEnv, param: c_int, value: *mut c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetintparam`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgprobtype` should have a snake case name
[INFO] [stdout]   --> src/load.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     CPXchgprobtype: fn(env: *mut CEnv, lp: *mut CProblem, ptype: c_int) -> c_int,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgprobtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXnewcols` should have a snake case name
[INFO] [stdout]   --> src/load.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     CPXnewcols: fn(
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxnewcols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddrows` should have a snake case name
[INFO] [stdout]   --> src/load.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     CPXaddrows: fn(
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddrows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddlazyconstraints` should have a snake case name
[INFO] [stdout]   --> src/load.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     CPXaddlazyconstraints: fn(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddlazyconstraints`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetnumcols` should have a snake case name
[INFO] [stdout]    --> src/load.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     CPXgetnumcols: fn(env: *const CEnv, lp: *mut CProblem) -> CInt,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetnumcols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgobj` should have a snake case name
[INFO] [stdout]    --> src/load.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     CPXchgobj: fn(
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `cpxchgobj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgqpcoef` should have a snake case name
[INFO] [stdout]    --> src/load.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     CPXchgqpcoef:
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgqpcoef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXchgobjsen` should have a snake case name
[INFO] [stdout]    --> src/load.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 |     CPXchgobjsen: fn(env: *mut CEnv, lp: *mut CProblem, maxormin: c_int) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxchgobjsen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXlpopt` should have a snake case name
[INFO] [stdout]    --> src/load.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     CPXlpopt: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `cpxlpopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXmipopt` should have a snake case name
[INFO] [stdout]    --> src/load.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     CPXmipopt: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to snake case: `cpxmipopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetstat` should have a snake case name
[INFO] [stdout]    --> src/load.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     CPXgetstat: fn(env: *mut CEnv, lp: *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetstat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetobjval` should have a snake case name
[INFO] [stdout]    --> src/load.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     CPXgetobjval: fn(env: *mut CEnv, lp: *mut CProblem, objval: *mut c_double) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgetobjval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgetx` should have a snake case name
[INFO] [stdout]    --> src/load.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     CPXgetx:
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `cpxgetx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXsolution` should have a snake case name
[INFO] [stdout]    --> src/load.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |     CPXsolution: fn(
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `cpxsolution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXaddmipstarts` should have a snake case name
[INFO] [stdout]    --> src/load.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 |     CPXaddmipstarts: fn(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxaddmipstarts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXgeterrorstring` should have a snake case name
[INFO] [stdout]    --> src/load.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     CPXgeterrorstring: fn(env: *mut CEnv, errcode: c_int, buff: *mut c_char) -> *mut c_char,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxgeterrorstring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXwriteprob` should have a snake case name
[INFO] [stdout]    --> src/load.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     CPXwriteprob:
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxwriteprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXcloseCPLEX` should have a snake case name
[INFO] [stdout]    --> src/load.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     CPXcloseCPLEX: fn(env: *const *mut CEnv) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cpxclose_cplex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CPXfreeprob` should have a snake case name
[INFO] [stdout]    --> src/load.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     CPXfreeprob: fn(env: *mut CEnv, lp: *const *mut CProblem) -> c_int,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `cpxfreeprob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:663:50
[INFO] [stdout]     |
[INFO] [stdout] 663 |             CString::new(name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |             ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:697:55
[INFO] [stdout]     |
[INFO] [stdout] 697 |             &CString::new(var.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:742:55
[INFO] [stdout]     |
[INFO] [stdout] 742 |             &CString::new(con.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:785:55
[INFO] [stdout]     |
[INFO] [stdout] 785 |             &CString::new(con.name.as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |              ---------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |              |
[INFO] [stdout]     |              this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:907:57
[INFO] [stdout]     |
[INFO] [stdout] 907 |             CString::new(name.into().as_str()).unwrap().as_ptr(),
[INFO] [stdout]     |             ------------------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |             |
[INFO] [stdout]     |             this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:974:51
[INFO] [stdout]     |
[INFO] [stdout] 974 |                 CString::new("lpex1.lp").unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/load.rs:990:51
[INFO] [stdout]     |
[INFO] [stdout] 990 |                 CString::new("lpex1.lp").unwrap().as_ptr(),
[INFO] [stdout]     |                 --------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.53s
[INFO] running `Command { std: "docker" "inspect" "98ac914e324a4db27ec69e1fc1c99ee731a88523a0698a17823b3a25bb914b98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98ac914e324a4db27ec69e1fc1c99ee731a88523a0698a17823b3a25bb914b98", kill_on_drop: false }`
[INFO] [stdout] 98ac914e324a4db27ec69e1fc1c99ee731a88523a0698a17823b3a25bb914b98
